﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace StoreWeb.system.basis
{
    public partial class setprice : System.Web.UI.Page
    {
        Maticsoft.BLL.InventoryClass blls = new Maticsoft.BLL.InventoryClass();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                hidid.Value = Request["id"];
                if (!string.IsNullOrEmpty(hidid.Value))
                {
                    Maticsoft.Model.InventoryClass md = blls.GetModel(Convert.ToInt32(hidid.Value));
                    lbtype.Text = md.cInvCName;
                    price.Value = md.price;
                }
            }
        }
    }
}